<?xml version='1.0'?>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://Ultima/content/Ultima.css" type="text/css"?>
<window title="Thievery Calculator" style="direction:ltr;" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" xmlns:html="http://www.w3.org/1999/xhtml">

<html:table class="mymainbox" cellpadding="0" cellspacing="5"
style="cursor:default; color:black; font-size:11px; font-family:arial, verdana, sans-serif;  background:#ECE9D8;" width="570"><html:tbody><html:tr>

<html:td class="box" align="center" style="padding: 5px 5px 5px 5px;" valign="top">

<html:center><html:font color="darkblue"><html:u><html:b id="Thievery_YourThief">Thief's Information</html:b></html:u></html:font></html:center>

<html:table align="center">

<html:tr>
<html:td width="117"></html:td>
<html:td width="76"></html:td>
</html:tr>

<html:tr>
<html:td><html:b>Race</html:b></html:td>
<html:td><html:select id="Thievery_YourRace" style="font-size: 8pt; width: 100%;">
<html:option value="0" selected="selected">Human</html:option>
<html:option value="1">Elf</html:option>
<html:option value="2">Dwarf</html:option>
<html:option value="3">Orc</html:option>
<html:option value="4" disabled="disabled">Gnome</html:option>
<html:option value="5" disabled="disabled">Dark Elf</html:option>
<html:option value="6">Undead</html:option>
<html:option value="7">Avian</html:option>
<html:option value="8">Faery</html:option>
<html:option value="9">Halfling</html:option>
</html:select></html:td>
</html:tr>

<html:tr>
<html:td><html:b>Personality</html:b></html:td>
<html:td><html:select id="Thievery_YourPersonality" style="width: 100%;">
<html:option value="0" selected="selected">Merchant</html:option>
<html:option value="1">Mystic</html:option>
<html:option value="2" disabled="disabled">War Hero</html:option>
<html:option value="3">Warrior</html:option>
<html:option value="4">Rogue</html:option>
<html:option value="5">Shepherd</html:option>
<html:option value="6">Sage</html:option>
<html:option value="7">Cleric</html:option>
<html:option value="8" disabled="disabled">Artisan</html:option>
<html:option value="9" disabled="disabled">Freak</html:option>
<html:option value="10" disabled="disabled">General</html:option>
<html:option value="11">Tactician</html:option>
</html:select></html:td>
</html:tr>

<html:tr>
<html:td><html:b>Thieves</html:b></html:td>
<html:td><html:input style="width: 76px;" id="Thievery_YourThieves" value="0" type="text" size="10" /></html:td>
</html:tr>

<html:tr>
<html:td><html:b>Networth</html:b></html:td>
<html:td><html:input style="width: 76px;" id="Thievery_YourNetworth" value="0" type="text" size="10" /></html:td>
</html:tr>

<html:tr>
<html:td><html:b>%Thieves-Dens</html:b></html:td>
<html:td><html:input style="width: 76px;" id="Thievery_YourTD" value="0" type="text" size="10" /></html:td>
</html:tr>

<html:tr>
<html:td><html:b>%Crime-Sci.</html:b></html:td>
<html:td><html:input style="width: 76px;" id="Thievery_YourCrime" value="0" type="text" size="10" /></html:td>
</html:tr>

<html:tr>
<html:td><html:img src="Thievery_Thief.gif" alt="" /></html:td>
<html:td>
<html:input value="Reset"     style="width: 100%; background-color: transparent; font-size: 8pt; font-weight: bold;" type="button" onclick="YourThiefReset()" /><html:br />
<html:input value="Report"    style="width: 100%; background-color: transparent; font-size: 8pt; font-weight: bold;" type="button" onclick="YourThiefReport()" /><html:br />
<html:input value="Reset All" style="width: 100%; background-color: transparent; font-size: 8pt; font-weight: bold;" type="button" onclick="ThiefResetAll()" />
</html:td>
</html:tr>

</html:table>

</html:td>

<html:td class="box" align="center" style="padding: 5px 5px 5px 5px;" rowspan="2" valign="top" width="300">

<html:center><html:font color="darkblue"><html:u><html:b>Operation Analysis</html:b></html:u></html:font></html:center>

<html:table align="center">

<html:tr>
<html:td width="6"></html:td>
<html:td width="117"></html:td>
<html:td width="125"></html:td>
<html:td width="6"></html:td>
</html:tr>

<html:tr>
<html:td><html:img src="Ultima_None.gif" alt="" title="" width="6" height="10" /></html:td>
<html:td><html:b>Operation</html:b></html:td>
<html:td><html:select id="Thievery_Operation" style="width: 200px;">
<html:option value="RobtheVaults" selected="selected">Rob the Vaults</html:option>
<html:option value="RobtheGranaries">Rob the Granaries</html:option>
<html:option value="RobtheTowers">Rob the Towers</html:option>
<html:option value="Kidnapping">Kidnapping</html:option>
<html:option value="AssassinateWizards">Assassinate Wizards</html:option>
<html:option value="NightStrike">Night Strike</html:option>
<html:option value="StealHorses">Steal Horses</html:option>
<html:option value="Arson">Arson</html:option>
<html:option value="GreaterArson">Greater Arson</html:option>
<html:option value="FreePrisoners">Free Prisoners</html:option>
</html:select></html:td>
<html:td><html:img src="Ultima_None.gif" alt="" title="" width="6" height="10" /></html:td>
</html:tr>



<html:tr>
<html:td></html:td>
<html:td colspan="2">

<html:table style="height:160px; border:1px solid #aa9988;" align="center" width="290" cellpadding="0" cellspacing="0">
<html:tr><html:td align="left" bgcolor="#FFFFFF" valign="top">
<html:table cellpadding="2" cellspacing="0" width="100%">

<html:tr>
<html:th bgcolor="#ECE9D8" class="box3d" style="text-align:center; height:15px; width:10px;">#</html:th>
<html:th bgcolor="#ECE9D8" class="box3d" style="text-align:center; height:15px; width:70px;"><html:b id="Thievery_Resource_Title">Money</html:b></html:th>
<html:th bgcolor="#ECE9D8" class="box3d" style="text-align:center; height:15px; width:50px;">Thieves</html:th>
<html:th bgcolor="#ECE9D8" class="box3d" style="text-align:center; height:15px; width:70px;"><html:b id="Thievery_Operation_Title">Stolen</html:b></html:th>
<html:th bgcolor="#ECE9D8" class="box3d" style="text-align:center; height:15px; width:50px;"><html:b>Damage</html:b></html:th>
</html:tr>

<html:tr>
<html:td id="Thievery_Main_td11" style="text-align:center; height:15px; font-weight:bold;"></html:td>
<html:td id="Thievery_Main_td12" style="text-align:center; height:15px; font-weight:bold;"></html:td>
<html:td id="Thievery_Main_td13" style="text-align:center; height:15px; font-weight:bold;"></html:td>
<html:td id="Thievery_Main_td14" style="text-align:center; height:15px; font-weight:bold;"></html:td>
<html:td id="Thievery_Main_td15" style="text-align:center; height:15px; font-weight:bold;"></html:td>
</html:tr>

<html:tr>
<html:td id="Thievery_Main_td21" style="text-align:center; height:15px; font-weight:bold;"></html:td>
<html:td id="Thievery_Main_td22" style="text-align:center; height:15px; font-weight:bold;"></html:td>
<html:td id="Thievery_Main_td23" style="text-align:center; height:15px; font-weight:bold;"></html:td>
<html:td id="Thievery_Main_td24" style="text-align:center; height:15px; font-weight:bold;"></html:td>
<html:td id="Thievery_Main_td25" style="text-align:center; height:15px; font-weight:bold;"></html:td>
</html:tr>

<html:tr>
<html:td id="Thievery_Main_td31" style="text-align:center; height:15px; font-weight:bold;"></html:td>
<html:td id="Thievery_Main_td32" style="text-align:center; height:15px; font-weight:bold;"></html:td>
<html:td id="Thievery_Main_td33" style="text-align:center; height:15px; font-weight:bold;"></html:td>
<html:td id="Thievery_Main_td34" style="text-align:center; height:15px; font-weight:bold;"></html:td>
<html:td id="Thievery_Main_td35" style="text-align:center; height:15px; font-weight:bold;"></html:td>
</html:tr>

<html:tr>
<html:td id="Thievery_Main_td41" style="text-align:center; height:15px; font-weight:bold;"></html:td>
<html:td id="Thievery_Main_td42" style="text-align:center; height:15px; font-weight:bold;"></html:td>
<html:td id="Thievery_Main_td43" style="text-align:center; height:15px; font-weight:bold;"></html:td>
<html:td id="Thievery_Main_td44" style="text-align:center; height:15px; font-weight:bold;"></html:td>
<html:td id="Thievery_Main_td45" style="text-align:center; height:15px; font-weight:bold;"></html:td>
</html:tr>

<html:tr>
<html:td id="Thievery_Main_td51" style="text-align:center; height:15px; font-weight:bold;"></html:td>
<html:td id="Thievery_Main_td52" style="text-align:center; height:15px; font-weight:bold;"></html:td>
<html:td id="Thievery_Main_td53" style="text-align:center; height:15px; font-weight:bold;"></html:td>
<html:td id="Thievery_Main_td54" style="text-align:center; height:15px; font-weight:bold;"></html:td>
<html:td id="Thievery_Main_td55" style="text-align:center; height:15px; font-weight:bold;"></html:td>
</html:tr>

<html:tr>
<html:td id="Thievery_Main_td61" style="text-align:center; height:15px; font-weight:bold;"></html:td>
<html:td id="Thievery_Main_td62" style="text-align:center; height:15px; font-weight:bold;"></html:td>
<html:td id="Thievery_Main_td63" style="text-align:center; height:15px; font-weight:bold;"></html:td>
<html:td id="Thievery_Main_td64" style="text-align:center; height:15px; font-weight:bold;"></html:td>
<html:td id="Thievery_Main_td65" style="text-align:center; height:15px; font-weight:bold;"></html:td>
</html:tr>

<html:tr>
<html:td id="Thievery_Main_td71" style="text-align:center; height:15px; font-weight:bold;"></html:td>
<html:td id="Thievery_Main_td72" style="text-align:center; height:15px; font-weight:bold;"></html:td>
<html:td id="Thievery_Main_td73" style="text-align:center; height:15px; font-weight:bold;"></html:td>
<html:td id="Thievery_Main_td74" style="text-align:center; height:15px; font-weight:bold;"></html:td>
<html:td id="Thievery_Main_td75" style="text-align:center; height:15px; font-weight:bold;"></html:td>
</html:tr>

<html:tr>
<html:td id="Thievery_Main_td81" style="text-align:center; height:15px; font-weight:bold;"></html:td>
<html:td id="Thievery_Main_td82" style="text-align:center; height:15px; font-weight:bold;"></html:td>
<html:td id="Thievery_Main_td83" style="text-align:center; height:15px; font-weight:bold;"></html:td>
<html:td id="Thievery_Main_td84" style="text-align:center; height:15px; font-weight:bold;"></html:td>
<html:td id="Thievery_Main_td85" style="text-align:center; height:15px; font-weight:bold;"></html:td>
</html:tr>

<html:tr>
<html:td id="Thievery_Main_td91" style="text-align:center; height:15px; font-weight:bold;"></html:td>
<html:td id="Thievery_Main_td92" style="text-align:center; height:15px; font-weight:bold;"></html:td>
<html:td id="Thievery_Main_td93" style="text-align:center; height:15px; font-weight:bold;"></html:td>
<html:td id="Thievery_Main_td94" style="text-align:center; height:15px; font-weight:bold;"></html:td>
<html:td id="Thievery_Main_td95" style="text-align:center; height:15px; font-weight:bold;"></html:td>
</html:tr>

<html:tr>
<html:td id="Thievery_Main_td101" style="text-align:center; height:15px; font-weight:bold;"></html:td>
<html:td id="Thievery_Main_td102" style="text-align:center; height:15px; font-weight:bold;"></html:td>
<html:td id="Thievery_Main_td103" style="text-align:center; height:15px; font-weight:bold;"></html:td>
<html:td id="Thievery_Main_td104" style="text-align:center; height:15px; font-weight:bold;"></html:td>
<html:td id="Thievery_Main_td105" style="text-align:center; height:15px; font-weight:bold;"></html:td>
</html:tr>

</html:table></html:td></html:tr></html:table>

</html:td>
<html:td></html:td>
</html:tr>





<html:tr>
<html:td></html:td>
<html:td colspan="2">
<html:table cellpadding="2" cellspacing="0" width="290">

<html:tr>
<html:td width="34%" align="left"><html:b>Relative_NW:</html:b></html:td><html:td width="15%" align="left"><html:b id="Thievery_Relative_NW">0</html:b></html:td>
<html:td width="34%" align="left"><html:b>Resources_Lost:</html:b></html:td><html:td width="15%" align="left"><html:b id="Thievery_Losts">0</html:b><html:b>%</html:b></html:td>
</html:tr>

<html:tr>
<html:td width="34%" align="left"><html:b>Thievery_Rate:</html:b></html:td><html:td width="15%" align="left"><html:b id="Thievery_Rate">0</html:b></html:td>
<html:td width="34%" align="left"><html:b>Resources_Gains:</html:b></html:td><html:td width="15%" align="left"><html:b id="Thievery_Resources_Gains">0</html:b><html:b>%</html:b></html:td>
</html:tr>

<html:tr>
<html:td width="34%" align="left"><html:b>Max_Resource:</html:b></html:td><html:td width="15%" align="left"><html:b id="Thievery_Max">0</html:b><html:b>%</html:b></html:td>
<html:td width="34%" align="left"><html:b>Thief_Max_Resource:</html:b></html:td><html:td width="15%" align="left"><html:b id="Thief_Max_Resource">0</html:b><html:b>%</html:b></html:td>
</html:tr>

<html:tr>
<html:td width="34%" align="left"><html:b>Penalty:</html:b></html:td><html:td width="15%" align="left"><html:b id="Thievery_Penalty">0</html:b><html:b>%</html:b></html:td>
<html:td width="34%" align="left"><html:b>Thief_Per_Resource:</html:b></html:td><html:td width="15%" align="left"><html:b>1:</html:b><html:b id="Thief_Per_Resource">0</html:b></html:td>
</html:tr>

</html:table>
</html:td>
<html:td></html:td>
</html:tr>





</html:table>

</html:td>

<html:td class="box" align="center" style="padding: 5px 5px 5px 5px;" rowspan="2" valign="top" width="220">

<html:center><html:font color="darkblue"><html:u><html:b>Resources</html:b></html:u></html:font></html:center>

<html:table align="center">

<html:tr>
<html:td width="6"></html:td>
<html:td width="150" align="left"></html:td>
<html:td width="76"></html:td>
</html:tr>

<html:tr>
<html:td><html:input style="background:transparent; border:0px solid #000;" id="Thief_Money" type="radio" name="Thief_Resources" value="0" onclick="ThiefMoney()" checked="checked" /></html:td>
<html:td align="left"><html:b>Money</html:b></html:td>
<html:td><html:input style="width: 76px;" id="Thievery_Money" value="0" type="text" size="10" /></html:td>

</html:tr>

<html:tr>
<html:td><html:input style="background:transparent; border:0px solid #000;" id="Thief_Food" type="radio" name="Thief_Resources" value="1" onclick="ThiefFood()" /></html:td>
<html:td align="left"><html:b>Food</html:b></html:td>
<html:td><html:input style="width: 76px;" id="Thievery_Food" value="0" type="text" size="10" /></html:td>
</html:tr>

<html:tr>
<html:td><html:input style="background:transparent; border:0px solid #000;" id="Thief_Runes" type="radio" name="Thief_Resources" value="2" onclick="ThiefRunes()" /></html:td>
<html:td align="left"><html:b>Runes</html:b></html:td>
<html:td><html:input style="width: 76px;" id="Thievery_Runes" value="0" type="text" size="10" /></html:td>
</html:tr>

<html:tr>
<html:td><html:input style="background:transparent; border:0px solid #000;" id="Thief_Peasants" type="radio" name="Thief_Resources" value="3" onclick="ThiefPeasants()" /></html:td>
<html:td align="left"><html:b>Peasants</html:b></html:td>
<html:td><html:input style="width: 76px;" id="Thievery_Peasants" value="0" type="text" size="10" /></html:td>
</html:tr>

<html:tr>
<html:td><html:input style="background:transparent; border:0px solid #000;" id="Thief_Wizards" type="radio" name="Thief_Resources" value="4" onclick="ThiefWizards()" /></html:td>
<html:td align="left">
<html:input id="Thief_Wizards_Name" style="border: 0px solid ; font-weight: bold; font-size: 12px; background-color: transparent;" size="9" value="Wizards" disabled="disabled" type="text" />
</html:td>
<html:td><html:input style="width: 76px;" id="Thievery_Wizards" value="0" type="text" size="10" /></html:td>
</html:tr>

<html:tr>
<html:td><html:input style="background:transparent; border:0px solid #000;" id="Thief_Soldiers" type="radio" name="Thief_Resources" value="5" onclick="ThiefSoldiers()" /></html:td>
<html:td align="left">
<html:input id="Thief_Soldiers_Name" style="border: 0px solid ; font-weight: bold; font-size: 12px; background-color: transparent;" size="9" value="Soldiers" disabled="disabled" type="text" />
</html:td>
<html:td><html:input style="width: 76px;" id="Thievery_Soldiers" value="0" type="text" size="10" /></html:td>
</html:tr>

<html:tr>
<html:td><html:input style="background:transparent; border:0px solid #000;" id="Thief_OffSpecs" type="radio" name="Thief_Resources" value="6" onclick="ThiefOffSpecs()" /></html:td>
<html:td align="left">
<html:input id="Thief_OffSpecs_Name" style="border: 0px solid ; font-weight: bold; font-size: 12px; background-color: transparent;" size="9" value="OffSpecs" disabled="disabled" type="text" />
</html:td>
<html:td><html:input style="width: 76px;" id="Thievery_OffSpecs" value="0" type="text" size="10" /></html:td>
</html:tr>

<html:tr>
<html:td><html:input style="background:transparent; border:0px solid #000;" id="Thief_DefSpecs" type="radio" name="Thief_Resources" value="6" onclick="ThiefDefSpecs()" /></html:td>
<html:td align="left">
<html:input id="Thief_DefSpecs_Name" style="border: 0px solid ; font-weight: bold; font-size: 12px; background-color: transparent;" size="9" value="DefSpecs" disabled="disabled" type="text" />
</html:td>
<html:td><html:input style="width: 76px;" id="Thievery_DefSpecs" value="0" type="text" size="10" /></html:td>
</html:tr>

<html:tr>
<html:td><html:input style="background:transparent; border:0px solid #000;" id="Thief_Elites" type="radio" name="Thief_Resources" value="7" onclick="ThiefElites()" /></html:td>
<html:td align="left">
<html:input id="Thief_Elites_Name" style="border: 0px solid ; font-weight: bold; font-size: 12px; background-color: transparent;" size="9" value="Elites" disabled="disabled" type="text" />
</html:td>
<html:td><html:input style="width: 76px;" id="Thievery_Elites" value="0" type="text" size="10" /></html:td>
</html:tr>

<html:tr>
<html:td><html:input style="background:transparent; border:0px solid #000;" id="Thief_Horses" type="radio" name="Thief_Resources" value="8" onclick="ThiefHorses()" /></html:td>
<html:td align="left"><html:b>Horses</html:b></html:td>
<html:td><html:input style="width: 76px;" id="Thievery_Horses" value="0" type="text" size="10" /></html:td>
</html:tr>

<html:tr>
<html:td><html:input style="background:transparent; border:0px solid #000;" id="Thief_Buildings" type="radio" name="Thief_Resources" value="9" onclick="ThiefBuildings()" /></html:td>
<html:td align="left"><html:b>Buildings</html:b></html:td>
<html:td><html:input style="width: 76px;" id="Thievery_Buildings" value="0" type="text" size="10" /></html:td>
</html:tr>

<html:tr>
<html:td><html:input style="background:transparent; border:0px solid #000;" id="Thief_Prisoners" type="radio" name="Thief_Resources" value="9" onclick="ThiefPrisoners()" /></html:td>
<html:td align="left"><html:b>Prisoners</html:b></html:td>
<html:td><html:input style="width: 76px;" id="Thievery_Prisoners" value="0" type="text" size="10" /></html:td>
</html:tr>

</html:table>

</html:td>

</html:tr><html:tr>

<html:td class="box" align="center" style="padding: 5px 5px 5px 5px;" valign="top">

<html:center><html:font color="darkblue"><html:u><html:b id="Thievery_EnemyThief">Defender's Information</html:b></html:u></html:font></html:center>

<html:table align="center">

<html:tr>
<html:td width="117"></html:td>
<html:td width="76"></html:td>
</html:tr>

<html:tr>
<html:td><html:b>Networth</html:b></html:td>
<html:td><html:input style="width: 76px;" id="Thievery_EnemyNetworth" value="0" type="text" size="10" /></html:td>
</html:tr>

<html:tr>
<html:td><html:b>Relations</html:b></html:td>
<html:td><html:select id="Thievery_EnemyRelations" style="width: 100%;">
<html:option value="0" selected="selected">None</html:option>
<html:option value="1">Unfriendly</html:option>
<html:option value="2">Hostile</html:option>
<html:option value="3">War</html:option>
<html:option value="4">Outside War</html:option>
</html:select></html:td>
</html:tr>

<html:tr>
<html:td></html:td>
<html:td valign="top"><html:input value="Reset" style="width: 100%; background-color: transparent; font-size: 8pt; font-weight: bold;" type="button" onclick="EnemyThiefReset()" /></html:td>
</html:tr>

</html:table>

</html:td>

</html:tr>

<html:tr><html:td class="box" align="left" colspan="3" style="padding: 5px 5px 5px 5px;" valign="top"><html:b id="Thievery_Info"></html:b></html:td></html:tr>

</html:tbody></html:table>

<script type="text/javascript" src="chrome://Ultima/content/Ultima_Config.js"></script>
<script type="text/javascript" src="chrome://Ultima/content/Calculator_Thievery.js"></script>

</window>